home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_400
/
423_01
/
accpost
/
post.doc
< prev
next >
Wrap
Text File
|
1990-08-31
|
31KB
|
746 lines
Plain Vanilla Posting Program II
Copyright (C) 1990, 1987 Plain Vanilla Corporation
All Rights Reserved
1. What the Posting Program Is
The Plain Vanilla Posting Program is a simple program that takes
over three of the most boring accounting tasks--posting from the
general journal to the general ledger, drawing a trial balance, and
putting account balances into a report. It does job this much
faster and more accurately than you can, and it won't let you post
an unbalanced entry. Your books will always be in balance.
The posting program features open design. The input to the posting
program and the output from the posting program are plain text files
in familiar formats. The journals look like journals, the ledgers
look like ledgers. You can use a word processor or text editor to
create, modify, examine and print these files and move data from one
file to another.
With version II, source code is supplied with the posting program.
If you have Turbo C 2.0, the Turbo Assembler and Linker, you can
recompile and relink the posting program. You might want to do this
if you have received the program from a questionable source and you
suspect that unauthorized changes have been made to the object code.
You might also want to make some changes to suit your own
application, but you're on your own there. We can't assure you that
your changes will work.
If you outgrow the posting program and want to use a more
comprehensive accounting package, you can take advantage of this
open design to move your records, if the other accounting package is
similarly accommodating.
2. What the Posting Program Is Not
The posting program has no security features. There are no
passwords, for example. So lock up your diskettes if security may
be a problem. Also, you should probably print out your files and
manually sign and date the printed copies for authentication.
The posting program is NOT copy protected. It is copyrighted, so
you may not legally sell it, but you can give it away. In fact, we
encourage you to distribute it as widely as possible. However, if
you make changes, we ask you to pass on only the original,
unmodified code.
The posting program is not for large businesses or organizations.
It absolutely will not handle sums larger than $21,474,836.47, even
in trial balances and other intermediate calculations. For most
small businesses and organizations, that's not much of a limitation,
unless you're keeping your books in some foreign currency that's
practically worthless.
Finally, there is no tutorial with the posting program. It is
presumed that you are familiar with manual accounting procedures,
with the MS-DOS or PC-DOS operating system, with a suitable word
processor or text editor, and with the necessity of keeping backup
copies of everything.
3. What You Need to Use the Posting Program
To use the posting program, you need an IBM PC/XT/AT or compatible
with PC-DOS or MS-DOS 2.00 or a later version of MS-DOS. You don't
need a graphics adapter or any special hardware. You will need at
least a simple printer if you want printed copy of your work. At
least 256K of memory is recommended, but you might be able to get by
with less. You may need more memory if you have a lot of accounts
or transactions. Get more--it's cheap. But don't go overboard--the
posting program won't use more than 640K.
You also need a word processor, or at least a text editor, that
produces ASCII files. There are many of them. PC-WRITE, which is a
"shareware" program, will do nicely. It is available on a trial
basis at nominal charge from most IBM PC users groups, but you must
register it if you decide to use it. You can use WordStar (in the
nondocument mode). You can even use EDLIN, the rickety old line
editor that comes with MS-DOS or PC-DOS, but we certainly don't
recommend that.
To get full use of the posting program, you'll need a word processor
that allows you to move text from one file to another. You'll want
to do that quite often.
4. Getting Started
The first thing to do is to make a backup copy of the distribution
diskette and put it in a safe place. That's always recommended.
Then copy the file POST.EXE from the distribution diskette to your
own diskette or hard disk. If you want to follow the examples given
below, you should also copy the files ACCOUNTS, JOURNAL, BS.FRM and
IS.FRM. You might also want to copy the file README, which contains
the text of this manual. If your word processor allows you to edit
two or more documents at the same time (and the best ones do), and
you need to refer to this manual while you're editing your journal
file, you can call up the file README (under whatever name you have
chosen to give it), use the text search feature of your word
processor to find the part you need to refer to, read it right off
the screen. Your word processor can probably turn the pages much
faster than you can.
5. Creating a Chart of Accounts
The first thing you need, with either the posting program or a
manual accounting system, is a chart of accounts. With the posting
program this is simply a list containing the company name and the
account names, one per line. Use your word processor to create one.
Here is an example from the file ACCOUNTS on the distribution
diskette:
John Doe Enterprises
Cash
Accounts Receivable
Inventory
Accounts Payable
John Doe Capital
Sales
Returns and Allowances
Purchases
Purchase Discounts
Inventory Change
Interest Income
Advertising
Rent
Utilities
You can use almost any company and account names you want, but there
are a few restrictions. A company or account name consists of one
or more words. Each word must begin with a letter. Subsequent
characters in the word may be either letters or digits. Words are
separated by spaces or tabs. Hence "Equipment1991" is an acceptable
account name, but "Equipment 1991" is not. The reason for this rule
is that the number "1991" might be mistaken for an account balance
in some contexts.
Punctuation marks, such a commas, may not be used in company or
account names. However, the virgule (/) is very common in
abbreviated account names (such as A/P), so it is permitted.
The posting program does not distinguish between capital and small
letters, so "CASH" and "Cash" are the same. The spacing between
words is also unimportant, so "accounts payable" is the same as
"accounts payable", but "accountspayable" is different, and so
is "payable accounts".
The maximum length of a company or account name, including single
spaces between words, is 40 characters.
The company name must come first. The account names may follow in
any order, but it is helpful to arrange them in the order in which
they will appear on the financial reports.
6. Creating a Journal File
Now you need some transactions to post. Use your word processor
again to create a text file that looks like a general journal, with
a number of special instructions to the posting program. There are
two such files--JOURNAL and GENERAL on the distribution diskette.
You can use them as models for your own journals. Each one contains
numerous comments that you will probably want to remove.
The first three items in a journal file are normally of the
following kind:
Journal: OPEN/CLOSE
Company: John Doe Enterprises
Read Ledger: ACCOUNTS
The first entry gives the name of the journal. It will be put into
every line posted to the general ledger from this journal file. The
entry is optional; if you omit it, the journal name will be omitted
from the general ledger.
The second entry gives the company name. It must match the name
given in the chart of accounts. The posting program will warn you
if the company name is omitted